%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% 09.22.23. Device 1 data (Half-Wave Dipolar Metal-Semiconductor Laser, Fig. 2c)
%%% Sangyeon (Fred) Cho, fredericksy.cho@gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear all
lambda=open('lambda_Fig2c.mat').lambda;
rainbow=open('rainbow_Fig2c.mat').rainbow;
x0=300;
y0=300;
width=200*0.8;
height=300*1.5;
color=jet(40);
for i=1:40
figure(1)
plot(lambda,rainbow(i,:)+(i)*1,'color',color(i,:))
hold on
xlim([1100 1550])
ylim([0.7 42.3])
xlabel('Wavelength (nm)')
ylabel('Sample #')
set(gcf,'position',[x0,y0,width,height])
set(gca,'TickDir','out'); 
end
